<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 500px;
            height: 500px;
            background-image: url(img/QQ图片20210929143743.png);
            border: 30px solid rgba(0, 0, 0, 0.2);
            padding: 40px;
            background-origin: content-box;
            background-repeat: no-repeat;
            background-size:100%;
        }
    </style>
</head>
<body>
    <div></div>
    
</body>
</html>